<?php


namespace api\zmt\controller;


use api\zmt\model\bannerModel;
use cmf\controller\RestBaseController;

class bannerController extends RestBaseController
{
    public function index(){
        $data = bannerModel::select();
        $this->success('轮播图查询成功',$data);
    }
}